package com.example.demo.bizhan.reflect;

import lombok.Data;
import lombok.ToString;

/**
 * @description: xxx
 * @time: 2020-10-26 22:33
 * @author: baojinlong
 **/
@Data
@ToString
public class Student {
    private String name;
    private String sex;
    private Integer age;

    public Student(String name, String sex, Integer age) {
        System.out.println("有参构造器");
        this.name = name;
        this.sex = sex;
        this.age = age;
    }

    public Student() {
        System.out.println("Student.无参构造器");
    }
}
